<template>
  <el-collapse-transition>
    <!-- 页脚 -->
    <div v-show="footer.showFooter" class="flex items-center h-10">
      <el-text class="mx-1">Copyright © 2020-present</el-text>
      <el-link type="primary">primary</el-link>
    </div>
  </el-collapse-transition>
</template>

<script setup lang="ts">
import {useLayouts} from "@/stores/modules/layouts.ts";

// 获取 layouts 状态
const layouts = useLayouts();
const { footer } = storeToRefs(layouts);
</script>